javascript xml字符串轉為json對象 var xmlStr = '<?xml version="1.0" encoding="utf-8" ?><config><name>potatog</nam ...